<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_owire.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_5de9c861c65ef79c1ee42b85520795c1.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_owire.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file provides all the OWIRE firmware functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="wb32l003__owire_8h_source.html">wb32l003_owire.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="wb32l003__rcc_8h_source.html">wb32l003_rcc.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga21d52a1132068abbcb25c3b90b844ceb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga21d52a1132068abbcb25c3b90b844ceb">OWIRE_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga21d52a1132068abbcb25c3b90b844ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the OWIRE peripheral registers to their default reset values.  <a href="group___o_w_i_r_e___private___functions.html#ga21d52a1132068abbcb25c3b90b844ceb">More...</a><br /></td></tr>
<tr class="separator:ga21d52a1132068abbcb25c3b90b844ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3fd416f60332087ec77041cb0c1421c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga3fd416f60332087ec77041cb0c1421c1">OWIRE_Init</a> (<a class="el" href="struct_o_w_i_r_e___init_type_def.html">OWIRE_InitTypeDef</a> *OWIRE_InitStruct)</td></tr>
<tr class="memdesc:ga3fd416f60332087ec77041cb0c1421c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the OWIRE mode according to the specified parameters in the <a class="el" href="struct_o_w_i_r_e___init_type_def.html" title="OWIRE Init Structure definition.">OWIRE_InitTypeDef</a> and create the associated handler.  <a href="group___o_w_i_r_e___private___functions.html#ga3fd416f60332087ec77041cb0c1421c1">More...</a><br /></td></tr>
<tr class="separator:ga3fd416f60332087ec77041cb0c1421c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga6e06aec6ed9d0c97bdf26a610742cdeb">OWIRE_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified OWIRE peripheral.  <a href="group___o_w_i_r_e___private___functions.html#ga6e06aec6ed9d0c97bdf26a610742cdeb">More...</a><br /></td></tr>
<tr class="separator:ga6e06aec6ed9d0c97bdf26a610742cdeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga8f559b3b45a9d4d516cbfcc10dc740f3">OWIRE_ITConfig</a> (uint32_t OWIRE_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified OWIRE interrupts.  <a href="group___o_w_i_r_e___private___functions.html#ga8f559b3b45a9d4d516cbfcc10dc740f3">More...</a><br /></td></tr>
<tr class="separator:ga8f559b3b45a9d4d516cbfcc10dc740f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf90365556be448f77ef11d1db54bab74"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#gaf90365556be448f77ef11d1db54bab74">OWIRE_ReadData</a> (void)</td></tr>
<tr class="memdesc:gaf90365556be448f77ef11d1db54bab74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read one data from DATA register.  <a href="group___o_w_i_r_e___private___functions.html#gaf90365556be448f77ef11d1db54bab74">More...</a><br /></td></tr>
<tr class="separator:gaf90365556be448f77ef11d1db54bab74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga35512a96e0814160f697ec38c95cba71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga35512a96e0814160f697ec38c95cba71">OWIRE_WriteData</a> (uint8_t Data)</td></tr>
<tr class="memdesc:ga35512a96e0814160f697ec38c95cba71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write one data to DATA register.  <a href="group___o_w_i_r_e___private___functions.html#ga35512a96e0814160f697ec38c95cba71">More...</a><br /></td></tr>
<tr class="separator:ga35512a96e0814160f697ec38c95cba71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga57f79f1ad56fe530954ab1d3dd773836"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga57f79f1ad56fe530954ab1d3dd773836">OWIRE_WriteCommand</a> (uint8_t Command)</td></tr>
<tr class="memdesc:ga57f79f1ad56fe530954ab1d3dd773836"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write command to CMD register.  <a href="group___o_w_i_r_e___private___functions.html#ga57f79f1ad56fe530954ab1d3dd773836">More...</a><br /></td></tr>
<tr class="separator:ga57f79f1ad56fe530954ab1d3dd773836"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga78e92ddf9bdf47bc2b54f6d660bf6ae5">OWIRE_GetFlagStatus</a> (uint32_t OWIRE_FLAG)</td></tr>
<tr class="memdesc:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified the OWIRE flag is set or not.  <a href="group___o_w_i_r_e___private___functions.html#ga78e92ddf9bdf47bc2b54f6d660bf6ae5">More...</a><br /></td></tr>
<tr class="separator:ga78e92ddf9bdf47bc2b54f6d660bf6ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74360504290350f54153208de5a40a95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga74360504290350f54153208de5a40a95">OWIRE_ClearFlag</a> (uint32_t OWIRE_FLAG)</td></tr>
<tr class="memdesc:ga74360504290350f54153208de5a40a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the OWIRE's pending flags.  <a href="group___o_w_i_r_e___private___functions.html#ga74360504290350f54153208de5a40a95">More...</a><br /></td></tr>
<tr class="separator:ga74360504290350f54153208de5a40a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39d8b5b853c77c64f899727353b07f61"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#ga39d8b5b853c77c64f899727353b07f61">OWIRE_GetITStatus</a> (uint32_t OWIRE_IT)</td></tr>
<tr class="memdesc:ga39d8b5b853c77c64f899727353b07f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the OWIRE interrupt has occurred or not.  <a href="group___o_w_i_r_e___private___functions.html#ga39d8b5b853c77c64f899727353b07f61">More...</a><br /></td></tr>
<tr class="separator:ga39d8b5b853c77c64f899727353b07f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee28e19a39f4a1a300f43eeeada09694"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_w_i_r_e___private___functions.html#gaee28e19a39f4a1a300f43eeeada09694">OWIRE_ClearITPendingBit</a> (uint32_t OWIRE_IT)</td></tr>
<tr class="memdesc:gaee28e19a39f4a1a300f43eeeada09694"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the OWIRE's interrupt pending bits.  <a href="group___o_w_i_r_e___private___functions.html#gaee28e19a39f4a1a300f43eeeada09694">More...</a><br /></td></tr>
<tr class="separator:gaee28e19a39f4a1a300f43eeeada09694"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file provides all the OWIRE firmware functions. </p>
<dl class="section author"><dt>Author</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
